import java.awt.image.BufferedImage;

public class BigBoss extends Wolf{
    public BigBoss(int x, int y) {
        super(x, y, 100, 88, 3, 2);
        riseheight = 479;
        level = 3;
    }

    int index = 0;
    int b = 0;
    public BufferedImage getImage() {
        index++;
        if (isdroping) return Images.bigboss[0];
        else {

            if (index % 30 == 0) {
                index = 0;
                if (b == 0) b = 1;
                else b = 0;
            }
            if (b == 0) {
                if (movedirection==TotalObject.RIGHT)return Images.bigboss[1];
                else return Images.bigboss[3];
            }
            else  {
                if (movedirection==TotalObject.RIGHT)return Images.bigboss[2];
                else return Images.bigboss[4];
            }

        }
    }

}
